from django.conf.urls.defaults import *
from django.views.static import serve

import settings

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
                       (r'^ajaxmedia/(?P<path>.*)$', serve, {'document_root': settings.MEDIA_ROOT}),
                       (r'^admin/doc/', include('django.contrib.admindocs.urls')),
                       (r'^admin/(.*)', admin.site.root),
                       (r'^', include('ajaxsite.notes.urls'))
                       )
